public class College {
    private String name;
    private String adress;
    public void setName(String name) {
        this.name = name;
    }
    public void setAdress(String adress) {
        this.adress = adress;
    }
    public String getName() {
        return name;
    }
    public String getAdress() {
        return adress;
    }
    public static void main(String[] args){
        College c = new College();
        c.setAdress("海口桂林洋高校区");
        c.setName("经济学院");
        System.out.println("校名："+c.getName()+"\n地址："+c.getAdress());
    }
}
